package test01;

public class demo1 {
    public static void main(String[] args) {
        int a= 10;
        int b = a++;
        System.out.println("a:"+a);
        System.out.println("b:"+b);
        a=10;
        b=++a;
        System.out.println("a:"+a);
        System.out.println("b:"+b);
        //面试题
        int x = 4;
        int y = (x--)+(--x)+(x*10);
        System.out.println("x:"+x);
        System.out.println("y:"+y);



    }
}
